﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TR.Domain.Entity.BsItemType;
using TR.Domain.Entity;
using TR.Domain.Repository.BS_Item_TypeRepository;

namespace TR.Domain.Repository.BSType
{
    public interface IBsItemTypeRepository
    {
   
        //分页查询
        Task<List<bs_Item_Type>> bs_ItemType_FenYeAsync(int pageSize, int currentPage, string kssj,string jssj,bs_Item_Type bft);
        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="Itemtype"></param>
        /// <returns></returns>
        Task<bool> ItemTypeAdd(bs_Item_Type Itemtype);

        //总数
        Task<int> count();

        /// <summary>
        /// 逻辑删除
        /// </summary>
        /// <param name="item_code"></param>
        /// <returns></returns>
        Task<bool> ItemtypeUDelect(string item_type_code);
        //修改
        Task<bs_Item_Type> ItemTypeSelectid(int id);
        //修改
        Task<bool> ItemTypeUpdate(UpdateItemTypeDto usd);


    }

}
